package cn.com.cifi.mars.mapper.mars;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.com.cifi.mars.bean.dto.SysRoleOrgDataPermissionDto;
import cn.com.cifi.mars.entity.common.SysRoleOrgDataPermission;

/**
 * <p>
 * 角色组织机构数据权限关联表 Mapper 接口
 * </p>
 *
 * @author yyd
 * @since 2019-09-19
 */
public interface SysRoleOrgDataPermissionMapper extends BaseMapper<SysRoleOrgDataPermission> {

	int deleteRoleId(@Param("roleId")String roleId);
	
	List<SysRoleOrgDataPermissionDto>selectRoleOrgDataPermissionTree(@Param("roleId")String roleId,@Param("hrOrgTypeId")String hrOrgTypeId);
	
	List<String>selectByRoleId(@Param("roleId")String roleId);
}
